package com.espirit.builder.base;

import org.springframework.stereotype.Component;

import com.espirit.eap.sa.LoginUser;

@Component
public class LoginUserBuilder extends UserTemplateBuilderSupport {
	
	public static final String FIELD_PASSWORD="password";
	
	@Override
	public boolean init() {
		super.init();
		return super.setClass(LoginUser.class, "Login User", "登录用户") ;
	}
	
	@Override
	public void buildFields() {
		super.buildFields();
		
		addModelField(FIELD_PASSWORD, "password", "密码");
	}
}
